home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
436_01
/
indemrsp.bat
< prev
next >
Wrap
DOS Batch File
|
1994-10-07
|
968b
|
39 lines
::INDEMRSP.BAT
echo off
set op=%path%
path=%1
for %%x in (INDEMLIB INDEMO) do if "%%x"=="%path%" goto :%%x
path=%0
echo %path%.BAT is meant to be called by INDEMLIB.MAK or INDEMO.MAK...
goto :EXIT
:INDEMLIB
echo Creating %1.rsp ...
echo -+incon & > %1.rsp
echo -+inalpha & >> %1.rsp
echo -+infloat & >> %1.rsp
echo -+inintgr & >> %1.rsp
echo -+intempl & >> %1.rsp
echo -+inutil & >> %1.rsp
echo -+stringz >> %1.rsp
goto :EXIT
:INDEMO
for %%x in (s m c l S M C L) do if "%%x"=="%2" goto :OK
echo Requires memory model (s, m, c, or l)
goto :EXIT
:OK
echo Creating %1.rsp ...
echo \tc\lib\c0%2+ > %1.rsp
echo indemo%2 + >> %1.rsp
echo inhelp%2 + >> %1.rsp
echo incon%2 + >> %1.rsp
echo inalpha%2 + >> %1.rsp
echo infloat%2 + >> %1.rsp
echo inintgr%2 + >> %1.rsp
echo intempl%2 + >> %1.rsp
echo inutil%2 + >> %1.rsp
echo addattr + >> %1.rsp
echo stringz >> %1.rsp
:EXIT
path=%op%
set op=